﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace LevelLibrary
{
    public sealed class GameVision
    {
        static public Matrix view { get; set; }
        static public Matrix projection { get; set; }
        static GameVision instance = null;
        static readonly object padlock = new object();

        GameVision()
        {
        }

        public static GameVision Instance
        {
            get
            {
                lock (padlock)
                {
                    if (instance == null)
                    {
                        instance = new GameVision();
                    }
                    return instance;
                }
            }
        }
    }
}
